﻿{% extends "guild/base.html" %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="weui-msg">
    <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title"> 操作失败 </h2>
        <p class="weui-msg__desc"> {{ message|safe }} </p>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area">
            {% if redirect_url %}
            <a href="{{ redirect_url }}" class="weui-btn weui-btn_block weui-btn_primary"> 确定 </a>
            {% else %}
            <a href="javascript:location.href = document.referrer;" class="weui-btn weui-btn_block weui-btn_primary"> 确定 </a>
            {% endif %}
            <!-- <a href="javascript:history.back();" class="weui-btn weui-btn_block weui-btn_default">返回</a> -->
        </p>
    </div>
    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            <p class="weui-footer__links">
                <a href="{% url 'guild:home' %}" class="weui-footer__link">YYZB</a>
            </p>
            <p class="weui-footer__text">Copyright &copy; 2019 www.yyzb.com</p>
        </div>
    </div>
</div>

{% endblock content %}

<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
<script>
</script>
{% endblock extra_js %}